#ifndef MELODYCANDIDATE_H
#define MELODYCANDIDATE_H

#include "Candidate.h"
#include "QReadWriteLock"

class MelodyCandidate : public Candidate
{
public:
    MelodyCandidate();
    MelodyCandidate(int genomeSize, float fitness);
    void swapSubString(Candidate* mate,int crossoverIndex);
    void mutate(float mutationRate,float mutationAmount);
    void variation();
    void truncateGenome(int cIndex);
    void extremalOptimization(int chromosome);
};

#endif // MELODYCANDIDATE_H
